package org.mayun.server;

import java.util.List;

import org.mayun.common.Comments;
import org.mayun.server.liyu.ProjectComments;
import org.mayun.server.liyu.SnippetComments;

public class Test {
	public static void main(String[] args) {
		ProjectComments snippetComments = new ProjectComments();
		List<Comments> comments=snippetComments.Comments(Long.valueOf("2018081320234562111"));
		System.out.println(comments.get(0).getId());
		System.out.println(comments.get(0).getComments());
		
		System.out.println(comments.get(0).getList().get(0).getId());
		System.out.println(comments.get(0).getList().get(0).getComments());
		
//		System.out.println(comments.get(0).getList().get(0).getList().get(0).getId());
//		System.out.println(comments.get(0).getList().get(0).getList().get(0).getComments());
		
//		for(Comments list:comments) {
//			System.out.println(list.getComments());
////			System.out.println(list.getList().size());
//		}
	}
}
